package com.ponhu.ea2.goodsCenter.provider.factory;

import com.ponhu.ea2.common.basic.model.ResponseBean;
import org.springframework.beans.factory.InitializingBean;

/**
 * @author luyu
 * @create 2021-11-02 20:57
 */
public interface GoodsFactoryService<T> extends InitializingBean {


    /**
     * 创建商品
     * @param t
     * @return
     */
    ResponseBean createOrUpdateGoods(T t);
}
